package com.group.integration.repository;

import com.group.integration.repository.entity.Coupon;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xiaoma
 * @date 2024-08-21 20:30
 **/
@Repository
public interface CouponRepository extends CrudRepository<Coupon, Long> {

    List<Coupon> findByType(String type);
}
